package cn.lili.modules.order.order.mapper;

import cn.lili.modules.order.order.entity.dos.RankingGrowAwardStatus;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 成长奖励奖品领取明细 Mapper 接口
 * </p>
 *
 * @author zhushiqing
 * @since 2023-12-21
 */
public interface RankingGrowAwardStatusMapper extends BaseMapper<RankingGrowAwardStatus> {

    @Select("select count(DISTINCT distribution_id) from li_ranking_grow_award_status where award_status != 0")
    Long countUser();

}
